/*
*	Copyright (C) 2014  Julio Montes, Mario Carrillo
*	
*	Julio Montes e-mail: imc.coder@gmail.com 
*
*	Mario Carrillo e-mail: mario_90ago@live.com.mx
*
*	BSD 3-Clause License
*/

#ifndef ALLIANCE_BUILDOPTIONSDLG_H
#define ALLIANCE_BUILDOPTIONSDLG_H

#include <wx/wx.h>
#include <wx/notebook.h>

namespace alliance
{
    class Project;

    class BuildOptionsDialog : public wxDialog
    {
    public:
        static wxArrayString s_arrayDirectoryFiles;
        static wxArrayString s_arrayProjectFiles;

        BuildOptionsDialog( wxWindow *parent, Project *project );
        virtual ~BuildOptionsDialog();
    protected:
    private:
        void OnOk( wxCommandEvent &evt );

        void OnAdd( wxCommandEvent &evt );
        void OnRemove( wxCommandEvent &evt );

        void OnPageChanged( wxNotebookEvent &evt );
        void OnPageChanging( wxNotebookEvent &evt );

        void LoadTools();

        wxNotebook *m_notebook;
        Project *m_project;
        bool m_flagAdd;
        bool m_flagRemove;
    };

    class AddToolDialog : public wxDialog
    {
    public:
        AddToolDialog( wxWindow *parent );
        virtual ~AddToolDialog();

        wxString GetTool() const;

        wxListBox *m_listTools;
    protected:
    private:
    };
}

#endif //ALLIANCE_BUILDOPTIONSDLG_H
